import request from '@/utils/request'

/*水源工程基本信息台账表*/
//列表查询
const tableList = function (params = {}) {
    return request({
        url: '/zy-api/api/waterengineerinfo/findList',
        method: 'post',
        data: params
    })
}

//新增
const addData = function (params = {}) {
    console.log(params);
    return request({
        url: '/zy-api/api/waterengineerinfo/add',
        method: 'post',
        data: params
    })
}

//修改
const editData = function (params = {}) {
    return request({
        url: '/zy-api/api/waterengineerinfo/update',
        method: 'post',
        data: params
    })
}

//删除
const delData = function (params = {}) {
    return request({
        url: '/zy-api/api/waterengineerinfo/delete',
        method: 'post',
        data: params
    })
}

//审核
const auditHandle = function (params = {}) {
    return request({
        url: '/zy-api/api/waterengineerinfo/Review',
        method: 'post',
        data: params
    })
}

export {
    tableList,
    addData,
    editData,
    delData,
    auditHandle,
}